
package com.rzico.core.plugin.distribution;

import com.aliyun.oss.OSSClient;
import com.aliyun.oss.model.ObjectMetadata;
import com.rzico.core.entity.SysPlugin;
import com.rzico.core.model.PluginAttribute;
import com.rzico.core.plugin.DistributionPlugin;
import com.rzico.core.plugin.StoragePlugin;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * Plugin - 二级分销
 * 
 * @author RZICO.BOOT
 * @version 3.0
 */
@Component("distributionDefaultPlugin")
public class DistributionDefaultPlugin extends DistributionPlugin {

	@Override
	public String getName() {
		return "标准分销代理插件";
	}

	@Override
	public String getVersion() {
		return "3.8.0";
	}

	@Override
	public List<PluginAttribute> getAttributeKeys() {
		List<PluginAttribute> data = new ArrayList<>();
		return data;
	}


	/**
	 * 获取请求参数
	 * @param sysPlugin 插件
	 * @return
	 */
	@Override
	public Map<String, Object> addOrder(SysPlugin sysPlugin, Long orderId) throws IOException {
		return null;
	}


	/**
	 * 获取请求参数
	 * @param sysPlugin 插件
	 * @return
	 */
	@Override
	public Map<String, Object> addAskfor(SysPlugin sysPlugin, Long askforId) throws IOException {
		return null;
	}

}